package com.zretc.blog.dao;

import com.zretc.api.pojo.Bookmark;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;

@Mapper
public interface BookmarkMapper {
    void addBookmark(Bookmark bookmark);
    void deleteBookmark(Bookmark bookmark);
    ArrayList<Bookmark> getBookmarkByUser(Integer userId);

}
